package com.costeaalex.blueserver.server;

public class ThreadControl
	{
	
	public int i=0;
		
	public synchronized void blockThread()
		{
		try
			{
			this.wait();
			} 
		catch (InterruptedException e)
			{
			e.printStackTrace();
			}
		}
	
	public synchronized void unblockThread()
		{
		this.notifyAll();
		}
	
	}
